package 笔试强训;

import java.util.Scanner;

public class _0417T1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String s = scanner.nextLine();
        String[] strs = s.split(" ");
        StringBuilder ret = new StringBuilder();
        for (int i = 0; i < strs.length; i++) {
            char c = strs[i].charAt(0);
            if(c>='a'&&c<='z') {
                ret.append((char)(c-32));
            }else {
                ret.append(c);
            }
        }
        System.out.println(ret);
    }
}
